﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdtJudge.DataEngine.Model.DataModel.SysCommon
{
    /// <summary>
    /// 案由基础信息
    /// </summary>
    public class CaseCauseModel
    {
        public CaseCauseModel() { }

        #region Model
        private string _cc_id;
        private string _cc_name;
        private string _cc_code;
        private string _cc_parentid;
        private string _cc_officialcode;
        private string _cc_equalcode;
        private decimal? _cc_serialnumb;
        private string _cc_explain;
        private int? _issave;
        private int? _cc_nodetype;
        private int? _isleafnode;
        private string _allparentid;
        private int? _hw_level;
        private string _cc_regexinfocode;
        private string _allparentname;
        private string _cc_inferruletextbycode;
        private string _elementxml;
        private string _optimizexml;
        private string _configxml;
        //add by pws on 2016-02-17
        private int? _cc_isdefineextract;
        private string _cc_defineextracttype;
        private string _cc_globalorder;
        private int? _cc_developschedule;

        public string XmlPath { get; set; }
        //全局排序值。
        public string CC_GlobalOrder
        {
            get { return _cc_globalorder; }
            set { _cc_globalorder = value; }
        }



        public string OptimizeXML
        {
            get { return _optimizexml; }
            set { _optimizexml = value; }
        }

        public string ConfigXML
        {
            get { return _configxml; }
            set { _configxml = value; }
        }

        /// <summary>
        /// 主键ID
        /// </summary>
        public string CC_ID
        {
            set { _cc_id = value; }
            get { return _cc_id; }
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string CC_Name
        {
            set { _cc_name = value; }
            get { return _cc_name; }
        }
        /// <summary>
        /// 编号
        /// </summary>
        public string CC_Code
        {
            set { _cc_code = value; }
            get { return _cc_code; }
        }
        /// <summary>
        /// 父级ID
        /// </summary>
        public string CC_ParentID
        {
            set { _cc_parentid = value; }
            get { return _cc_parentid; }
        }
        /// <summary>
        /// 官方代码
        /// </summary>
        public string CC_OfficialCode
        {
            set { _cc_officialcode = value; }
            get { return _cc_officialcode; }
        }
        /// <summary>
        /// 等价码
        /// </summary>
        public string CC_EqualCode
        {
            set { _cc_equalcode = value; }
            get { return _cc_equalcode; }
        }
        /// <summary>
        /// 排序号
        /// </summary>
        public decimal? CC_SerialNumb
        {
            set { _cc_serialnumb = value; }
            get { return _cc_serialnumb; }
        }
        /// <summary>
        /// 解释
        /// </summary>
        public string CC_Explain
        {
            set { _cc_explain = value; }
            get { return _cc_explain; }
        }
        /// <summary>
        /// 是否保存
        /// </summary>
        public int? isSave
        {
            set { _issave = value; }
            get { return _issave; }
        }
        /// <summary>
        /// 节点类型(2:案由；3：情形；4：法定；5：酌定)
        /// </summary>
        public int? CC_NodeType
        {
            set { _cc_nodetype = value; }
            get { return _cc_nodetype; }
        }
        /// <summary>
        /// 是否为叶子节点
        /// </summary>
        public int? isLeafNode
        {
            set { _isleafnode = value; }
            get { return _isleafnode; }
        }
        /// <summary>
        /// 全部父级ID
        /// </summary>
        public string AllParentId
        {
            set { _allparentid = value; }
            get { return _allparentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? HW_level
        {
            set { _hw_level = value; }
            get { return _hw_level; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CC_RegexInfoCode
        {
            set { _cc_regexinfocode = value; }
            get { return _cc_regexinfocode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AllParentName
        {
            set { _allparentname = value; }
            get { return _allparentname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CC_InferRuleTextByCode
        {
            set { _cc_inferruletextbycode = value; }
            get { return _cc_inferruletextbycode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ElementXML
        {
            set { _elementxml = value; }
            get { return _elementxml; }
        }

        public int? CC_IsDefineExtract
        {
            get { return _cc_isdefineextract; }
            set { _cc_isdefineextract = value; }
        }

        public string CC_DefineExtractType
        {
            get { return _cc_defineextracttype; }
            set { _cc_defineextracttype = value; }
        }

        public int? CC_DevelopSchedule
        {
            get { return _cc_developschedule; }
            set { _cc_developschedule = value; }
        }

        private string _MatchOrginalText;

        /// <summary>
        /// 案由匹配到的原文内容
        /// </summary>

        public string MatchOrginalText
        {
            get => _MatchOrginalText;
            set => _MatchOrginalText = value;
        }

        ///<summary>
        /// 是否核心要素
        ///</summary> 
        public int? CC_IsBasicElements { get; set; }

        #endregion Model

    }
}
